Chapter 1 primes highest coomon factors and lcm